package com.joysuch.wwyt.core.service;

import com.joysuch.wwyt.core.bean.*;
import com.joysuch.wwyt.core.entity.BaseEvaluationIndicators;
import com.joysuch.wwyt.core.entity.BaseEvaluationIndicatorsContentDetail;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import com.joysuch.wwyt.core.bean.BaseEvaluationContentBean.SearchBaseEvaluationContentConfig;

import java.util.List;

public interface BaseEvaluationIndicatorsService {
    BaseEvaluationIndicatorsBean add(BaseEvaluationIndicatorsBean bean);

    BaseEvaluationIndicatorsBean update(BaseEvaluationIndicatorsBean bean);

    List<BaseEvaluationIndicators> findList();

    void delete(Long id);

    List<BaseEvaluationIndicatorsContentDetail> addDetail(AddBaseEvaluationDetailBean bean);

    List<BaseEvaluationIndicatorsContentDetail> updateDetail(AddBaseEvaluationDetailBean bean);

    void deleteDetail(Long id);

    List<BaseEvaluationDetailBean> findDetail(Long id);

    BaseEvaluationIndicatorsBean find(Long id);

    void deleteContent(Long id);

    Page<BaseEvaluationContentBean> findByPage(Pageable page, SearchBaseEvaluationContentConfig condition);

    //List<BaseEvaluationDetailBean> getDetail(Long id);
}
